package tj.eskhata.pos.dao;

import java.util.List;

import org.hibernate.criterion.Criterion;


public interface GenericDao {

	  <T> T load(Class<T> type, long id);
	  <T> List<T> findByCriteria(Class<T> type, Criterion... criterion);
	}